package com.itheima.accountingdb.service;

import java.util.List;
import java.util.Map;

/**
 * @author panweiwei
 */
public interface ReportService {
    /**
     * 获取报表
     * @param userId
     * @param startDate
     * @param endDate
     * @param categoryId
     * @return
     */
    Map<String, Object> getSummaryReport(Long userId, String startDate, String endDate, Integer categoryId);


    /**
     * 获取图表数据
     * @param startDate
     * @param endDate
     * @param type
     * @return
     */
    Map<String, Object> getChartData(String startDate, String endDate, String type);
}
